<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <base data-ice="baseUrl" href="">
  <title data-ice="title">Test | amd-bundle</title>
  <link type="text/css" rel="stylesheet" href="css/style.css">
  <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css">
  <script src="script/prettify/prettify.js"></script>
  <script src="script/manual.js"></script>
<meta name="description" content="A dual-use tool for bundling up AMD modules, which is much easier to use than r.js with Almond or AMDclean"><meta property="twitter:card" content="summary"><meta property="twitter:title" content="amd-bundle"><meta property="twitter:description" content="A dual-use tool for bundling up AMD modules, which is much easier to use than r.js with Almond or AMDclean"></head>
<body class="layout-container" data-ice="rootContainer">

<header>
  <a href="./">Home</a>
  
  <a href="identifiers.html">Reference</a>
  <a href="source.html">Source</a>
  <a href="test.html" data-ice="testLink">Test</a>
  <div class="search-box">
  <span>
    <img src="./image/search.png">
    <span class="search-input-edge"></span><input class="search-input"><span class="search-input-edge"></span>
  </span>
    <ul class="search-result"></ul>
  </div>
<a style="position:relative; top:3px;" href="https://github.com/TechQuery/AMD_bundle.js"><img width="20px" src="./image/github.png"></a></header>

<nav class="navigation" data-ice="nav"><div>
  <ul>
    
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/source/Module.js~Module.html">Module</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/source/Package.js~Package.html">Package</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-generate">generate</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getNPMFile">getNPMFile</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getNPMIndex">getNPMIndex</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getNPMPackage">getNPMPackage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-merge">merge</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-outPackage">outPackage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-typedef">T</span><span data-ice="name"><span><a href="typedef/index.html#static-typedef-DependencyMap">DependencyMap</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-typedef">T</span><span data-ice="name"><span><a href="typedef/index.html#static-typedef-NameMap">NameMap</a></span></span></li>
</ul>
</div>
</nav>

<div class="content" data-ice="content"><h1>Test</h1>
<table class="test-summary">
  <thead>
    <tr>
      <td class="test-description">Description</td>
      <td class="test-target">Identifier</td>
    </tr>
  </thead>

  <tbody data-ice="tests"><tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="0">
  <td data-ice="testDescription" style="padding-left: 10px"><span data-ice="testInterfaceToggle" class="toggle closed"></span><span><a href="test-file/test/Module.test.js.html#lineNumber7"><p>Module parser</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Module.js~Module.html">Module</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Module.test.js.html#lineNumber16"><p>Parse AMD</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Module.js~Module.html#instance-method-parseAMD">Module#parseAMD</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Module.test.js.html#lineNumber31"><p>Parse CommonJS</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Module.js~Module.html#instance-method-parseCJS">Module#parseCJS</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Module.test.js.html#lineNumber36"><p>Parse all</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Module.js~Module.html#instance-method-parse">Module#parse</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Module.test.js.html#lineNumber49"><p>Get paths of the dependency</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Module.js~Module.html#instance-get-dependencyPath">Module#dependencyPath</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Module.test.js.html#lineNumber57"><p>Load ES 6 module</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Module.js~Module.html#instance-method-load">Module#load</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Module.test.js.html#lineNumber74"><p>Replace a dependency</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Module.js~Module.html#instance-method-mapName">Module#mapName</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="0">
  <td data-ice="testDescription" style="padding-left: 10px"><span data-ice="testInterfaceToggle" class="toggle closed"></span><span><a href="test-file/test/Package.test.js.html#lineNumber13"><p>Package bundler</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Package.js~Package.html">Package</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Package.test.js.html#lineNumber20"><p>Register module</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Package.js~Package.html#instance-method-register">Package#register</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Package.test.js.html#lineNumber36"><p>Parse package</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Package.js~Package.html#instance-method-parse">Package#parse</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Package.test.js.html#lineNumber69"><p>Bundle all dependencies</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="function/index.html#static-function-generate">generate</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Package.test.js.html#lineNumber74"><p>Bundle without NPM packages</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="class/source/Package.js~Package.html#instance-method-bundle">Package#bundle</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="0">
  <td data-ice="testDescription" style="padding-left: 10px"><span data-ice="testInterfaceToggle" class="toggle closed"></span><span><a href="test-file/test/Package.test.js.html#lineNumber78"><p>Command line</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target">-</td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Package.test.js.html#lineNumber83"><p>Output to a file</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target">-</td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Package.test.js.html#lineNumber93"><p>Write into <code>stdout</code> without printing</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target">-</td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Package.test.js.html#lineNumber103"><p>Replace a module by the map option</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target">-</td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/Package.test.js.html#lineNumber118"><p>Handle &quot;Hash bang&quot; automatically</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target">-</td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="0">
  <td data-ice="testDescription" style="padding-left: 10px"><span data-ice="testInterfaceToggle" class="toggle closed"></span><span><a href="test-file/test/utility.test.js.html#lineNumber7"><p>Utility</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target">-</td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/utility.test.js.html#lineNumber11"><p>Merge module paths</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="function/index.html#static-function-merge">merge</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/utility.test.js.html#lineNumber19"><p>Determine package type by name</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="function/index.html#static-function-outPackage">outPackage</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/utility.test.js.html#lineNumber35"><p>Get path of JS modules</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="function/index.html#static-function-getNPMFile">getNPMFile</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/utility.test.js.html#lineNumber43"><p>Get &quot;index.js&quot; path of a module</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="function/index.html#static-function-getNPMIndex">getNPMIndex</a></span></td>
</tr>

<tr class="test-interface" data-ice="testInterface" style="display: none;" data-test-depth="1">
  <td data-ice="testDescription" style="padding-left: 20px"><span><a href="test-file/test/utility.test.js.html#lineNumber53"><p>Get entry file path from &quot;package.json&quot; of a module</p>
</a></span></td>
  <td data-ice="testTarget" class="test-target"><span><a href="function/index.html#static-function-getNPMPackage">getNPMPackage</a></span></td>
</tr>
</tbody>
</table>
</div>

<footer class="footer">
  Generated by <a href="https://esdoc.org">ESDoc<span data-ice="esdocVersion">(1.1.0)</span><img src="./image/esdoc-logo-mini-black.png"></a>
</footer>

<script src="script/search_index.js"></script>
<script src="script/search.js"></script>
<script src="script/pretty-print.js"></script>
<script src="script/inherited-summary.js"></script>
<script src="script/test-summary.js"></script>
<script src="script/inner-link.js"></script>
<script src="script/patch-for-local.js"></script>
</body>
</html>
